Fix applying has-success and has-error classes to the same container in case of using .input-group.