Better Category nil checking