Core: Fix MIME type editing when using filtering

Task-number: QTCREATORBUG-12149
Change-Id: I53556eadc7bf5ed5bf6778613a61e904acb4ff6f
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>