Protect against npe when profile data is null
Updates to get PF 5 working, also use the correct timezone