Fixed consistency level checking.