Bug fix #4411 : Fixed ProtectBinary behaviour on insert operation

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>