Bug fix #4411 Protect Binary when set to no in settings still does not allow insert binary data

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>

test case fix

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Merge pull request #1183 from D-storm/bug-4411

Bug fix #4411 : Fixed ProtectBinary behaviour on insert operation