add meta field to search only if it is set