Spatial filter Bug-Fix