Added error message for trying to apply has filter