Missing check, supporting changes in horizon for middleware changes

Change-Id: I6c228d43af43a3b3136088d8a25e9b01efc5d9a5
Fixes: bug#1211535
Merge "Missing check, supporting changes in horizon for middleware changes"