Make search_dbpage's argument to be SearchCond enum, dispatch to
different subroutines based on it's a key or command