Make the search for a spell form function as a search for any database content form based on an enum