Likes: improved version of key check

Also removed extra line break from tags.php.