MSRE - Make sure 'default' rule is the last

Moved isset($_POST[$target]) test up to ensure default rule is recognised as such