Postgis distance filter does not work as expected
Fixed by converting distance to numeric and rounding:

round(ST_Distance_Sphere(location, ST_MakePoint(21.012228699999998, 52.2296756))::numeric, 2)


I've found it here http://postgis.net/docs/manual-1.4/ST_Distance_Sphere.html, under "Examples".