Fixed checking conditions for type "type"
Merge pull request #343 from akeeba/feature/fix-db-installer

Fixed checking conditions for type "type"