bug fix to find_by_handle_and_server_id method in registration model