Update hTags.php

Minor changes in prepared queries