Fixed parameter verification + better handling of boundary frames when RMS is enabled.