Fixes passing empty flags

Sorry about the small issue introduced, this is the fix.

Thanks!