zrrichards: Fix getColor crash when it attempts to get the color for 1/0, happens because the number of users has not yet been loaded into the database
zrrichards: Refactor two if statements into one