Implementing 'Invalid before' feature