exists function improved

adding a limit(1) is usefull for control of existence and can be find it 1 step in db.