A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.
2 of 2 added 337 characters in body

This line is your problem


You are loading the collection and later you apply a filter in the template.
Once you load the collection all filters and sort orders applied have no effect.
So you should apply the filter before calling load or before iterating through the collection.
In this case you should apply the filter in the block class.

As a general case, the templates should be used only to present data, so all data manipulation should be done in the block classes.

Make your construct method look like this:

public function __construct()
    $collection = Mage::getModel('module/model')->getCollection();
    $customerId = 1;