Thank you, this worked for me too.
As a web developer, I would definitely recommend putting a warning in the WP admin, something along the lines of telling veteran users to make sure they are logged in or they could experience issues. Without anything for me to go on, fixing this issue that should have taken me 5 to 10 mins has taken me hours to fix :/