Fixed bug in ramp handling.

This bug would have prevented MELD restraints
from being active, but confinement and other
types of restraints would have still worked.