Fixed incompatible call to onlyif