When there were no isntruments or no events, calls to max were throwing errors