Fix for failing tests in keywords dialog