fixing some null reference errors
Merge pull request #2 from CoStarGroup/null-checks

fixing some null reference errors