Can now check path prefix first