Update LifeDB_new.php

small logical changes in searching with attribute name