Fixed php filter code for dataset list