Added a null check to address failing tests from last commit
UHM-1163 - Hospitalization export should pull any patients hospitalized within that timeframe
UHM-1216 - Outcome on Hospitalization export should reflect the outcome at end of timeframe