#95 Fix advanced filter functionality

Also resolved issue #92.
#110 Fix strict standards error message