Fix bug with users not found throwing an error when it should not have