Minor logic fix on users controller.