Fixes boolean error in schemas