input validation if no ID's to perform filtering on