Fixes issue preventing anyone from seeing edit page