Check After Restriction on Commit

Change-Id: I327e1639e97ed44c6b1bfd8154a4ea4114cd7d6e
Signed-off-by: anupamsrivastava <om.anupam@gmail.com>