Fixing some enrol timeframe errors. Prevent error when loggin path is blank.