Fix for checking empty users array.