Fixes an error that would stop the reserve form from working if the session and different resources with different formsets were involved