Add check for page type to jobs query