Added tiny fix for ID field lookup
Moved nullable condition to case unsensitive field only
Merge pull request #246 from Pirhoo/fix-id-lookup

Fix id lookup