Add key check in personal queries