Slight change to db search