Fix strpos checks in displayq to use boolean compare