Make type lowercase.
Make sure we pick the selected gateway for comparison.
Merge branch 'master' of github.com:oniiru/filmbundle