Fixed bad resource comparison.
Merge pull request #2 from airbnb/staging

Fixed bad resource comparison.