MOB-2040: Fixed error message when no categories