Fix for manual vs automated test cases bug