Fix onlyif regex