Update to alerts getter error handling