fix'ed filtering when no constraints are set