Fixes issue where user was not able to change views