Fix for ReadOnlyMvc so that it checks if the system is in readonly mode.