issue #37, added check if no tags exist

Issue #37
@hishamelgezeery can you please check this request and merge it ?! I forgot to add a condition if there are no tags in the Tag table.