Bug fix on core; selecting default controller

Fixed the bug where the system would default to the previous selected controller
instead of relying on the default controller when the ?c request is removed
from the url.