Fixed nasty failed bug
Merge pull request #4 from psav/views

Fixed nasty failed bug