Prevent 500 server error in usercount view, when there is
no data