Added strict checking to in_array() for resolve()