Fixed error when no keywords exist