Added check before doing the regex in spl/profile-case.php

and set the $checked in AP-... different