Support limits in the passthrough engine

This will fix the broken test introduced in the previous commit