minor clean up with some clarifying comments in the rankPatients section of the controller as it is about to get complicated