Add check_if_valid scope to all searches