Hack in case of not working elem predicate autoinsertion