this fixes bug introduced in commit 4facada1 when a job was submitted with a valid gres name but count of zero