Fix for @Roope issue #294 - requiredIf dependencies not working with page reference field as dependency.