Added new validity assertion to resamplers.py.