That PVC pipe from the filter to the heater should be fine. Certainly more than one way that could've been routed, but it should be okay. If you were really worried about the pressure exerted on either end, you could take some scrap PVC and make a vertical leg support close to the corner elbow, going from the ground up to the bottom of the pipe.