Views: minor bugfixes
Merge pull request #22 from kristallizer/api

Views: minor bugfixes