Fix is_compatible_browser method that was always returning True refs #5958