Added sanity check to static whitelist parsing