In mapindex move check for default map into separate method.

`mapindex->check_default()`?
Also, the function could return a bool, since you're at it