Fixed crash while retrieving patients with complaints. #12