Fix commits check in status task