Likes: improved version of key check