Added fix to show fail message if category given doesn't match any in
database