Fixed prefix check.