Corrected data value checks for piston retracting, fixes #15, again