Prevent use of hot-standby flag when not in recovery mode