Fixed issue #55 - Use !empty instead of count
Merge pull request #56 from clutchwave/issue-55-bad-foreach-loop

Fixed issue #55 - Use !empty instead of count